package com.weigang.mybatis.service;

import com.weigang.mybatis.entity.HrUser;
import com.weigang.mybatis.mapper1.HrUserMapper;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class HrUserService {

    @Resource
    private HrUserMapper hrUserMapper;


    public List<HrUser> getUsers(){
        return hrUserMapper.selectAllUser();
    }

}

